package com.muse.designpatterns.template;

public class TemplateTest {
    public static void main(String[] args) {
        System.out.println("开始泡茶------------------");
        MakeBeverage tea = new Tea();
        tea.prepareRecipe();
        System.out.println("开始泡咖啡----------------");
        MakeBeverage coffee = new Coffee();
        coffee.prepareRecipe();
    }
}
